<template>
    <div>
        <div class=" "
             style="text-align:right">

            <el-button class="_primary"
                       @click="fDialogBtnClick('back')">返回</el-button>
        </div>
        <div class="flex1 block">
            <el-tabs class="moduletabs _stretch"
                     v-model="sActiveTab">
                <el-tab-pane name="tab1">
                    <div slot="label"
                         class="moduletabs-i ">基本情况</div>

                    <!-- 基本情况 BEGIN -->
                    <div>
                        <jbqk></jbqk>

                    </div>


                    <!-- 基本情况 END -->
                </el-tab-pane>
                <el-tab-pane name="tab2">
                    <div slot="label"
                         class="moduletabs-i">废气排放口信息</div>

                    <!-- 废气排放口信息 BEGIN -->
                    <div>
                        <fqinfo></fqinfo>

                    </div>
                    <!-- 废气排放口信息 END -->
                </el-tab-pane>
                <el-tab-pane name="tab3">
                    <div slot="label"
                         class="moduletabs-i">废水排放口信息</div>

                    <!-- 废气排放口信息 BEGIN -->
                    <div>
                        <fsinfo></fsinfo>

                    </div>
                    <!-- 废气排放口信息 END -->
                </el-tab-pane>
                <el-tab-pane name="tab4">
                    <div slot="label"
                         class="moduletabs-i">固体废物信息</div>

                    <!-- 废气排放口信息 BEGIN -->
                    <div>
                        <gfinfo></gfinfo>

                    </div>
                    <!-- 废气排放口信息 END -->
                </el-tab-pane>
                <el-tab-pane name="tab5">
                    <div slot="label"
                         class="moduletabs-i">企业应急信息</div>

                    <!-- 废气排放口信息 BEGIN -->
                    <div>
                        <yjinfo></yjinfo>

                    </div>
                    <!-- 废气排放口信息 END -->
                </el-tab-pane>
                <el-tab-pane name="tab6">
                    <div slot="label"
                         class="moduletabs-i">排放标准</div>

                    <!-- 废气排放口信息 BEGIN -->
                    <div>
                        <pfinfo></pfinfo>

                    </div>
                    <!-- 废气排放口信息 END -->
                </el-tab-pane>
                <el-tab-pane name="tab7">
                    <div slot="label"
                         class="moduletabs-i">排污许可证</div>

                    <!-- 废气排放口信息 BEGIN -->
                    <div>
                        <pwinfo></pwinfo>

                    </div>
                    <!-- 废气排放口信息 END -->
                </el-tab-pane>
            </el-tabs>
        </div>

    </div>
</template>

<script>
    import { } from '@/urls';
    import jbqk from './basicinfo.vue'
    import fqinfo from './fqinfo.vue'
    import fsinfo from './fsinfo.vue'
    import gfinfo from './gfinfo.vue'
    import yjinfo from './yjinfo.vue'
    import pfinfo from './pfinfo.vue'
    import pwinfo from './pwxkz.vue'

    export default {
        components: { jbqk, fqinfo, fsinfo, gfinfo, yjinfo, pfinfo, pwinfo },
        data() {
            return {
                //-- 标签页 --
                sActiveTab: 'tab1',//选中的标签页
                //-- 过滤条件 --
                oFilterForm: {},
            }
        },
        mounted() {
            //this.$EventBus.$on("zry", (value) => {
            //    console.log("收到短信:", value);
            //});
        },
        beforeDestroy() {
        },
        //**** methods
        methods: {
            fDialogBtnClick(sType) {//弹框按钮点击事件
                switch (sType) {
                    case 'save'://保存 
                        break;
                    case 'back'://返回
                        this.$emit('update:visible', false);//抛出事件关闭当前弹框
                        break;
                    case 'test'://其他按钮
                        //...
                        break;
                }
            },
        }
    }
</script>

<style lang="less" rel="stylesheet" scoped>
</style>